package com.youdoneed.community.forum.entity;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
/**
 * 点赞记录，保存用户id，用户头像url等
 * @author lid
 * @date 2017.6.5  
 *
 */
public class Forumlikespointrecord {

    @ApiModelProperty("点赞信息主键id，入参设为null")
    private String likesPointRecordId;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("用户头像url")
    private String userHeadUrl;

    @ApiModelProperty("用户昵称")
    private String userNickName;

    /**
     * 点赞的类型
     * "0"：给帖子点赞
     * "1"：给评论点赞
     * "2": 给新闻点赞
     */
    @ApiModelProperty("点赞的类型！0：给帖子点赞；1：给评论点赞；2: 给新闻点赞")
    private String likesType;

    /**
     * 帖子或者评论或者新闻的id
     */
    @ApiModelProperty("帖子或者评论或者新闻的id！注：新闻的主键id为long型，先转为string型")
    private String forumMsgId;

    @ApiModelProperty("用户昵称")
    private Date createDate;

    public String getLikesPointRecordId() {
        return likesPointRecordId;
    }

    public void setLikesPointRecordId(String likesPointRecordId) {
        this.likesPointRecordId = likesPointRecordId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserHeadUrl() {
        return userHeadUrl;
    }

    public void setUserHeadUrl(String userHeadUrl) {
        this.userHeadUrl = userHeadUrl;
    }

    public String getLikesType() {
		return likesType;
	}

	public void setLikesType(String likesType) {
		this.likesType = likesType;
	}

	public String getForumMsgId() {
        return forumMsgId;
    }

    public void setForumMsgId(String forumMsgId) {
        this.forumMsgId = forumMsgId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }
}